package com.start.ws.connect;


import jakarta.websocket.Session;

public interface StartConnectLifeCycle {
    /**
     * 连接时
     *
     * @param startUserType
     * @param clientType
     * @param userId
     * @param session
     */
    void onConnect(String startUserType, String clientType, String userId, Session session);

    /**
     * 连接关闭时
     *
     * @param startUserType
     * @param clientType
     * @param userId
     * @param session
     */
    void onClose(String startUserType, String clientType, String userId, Session session);
}
